package com.wasion.pwportable.protocol.analyzer.indicator;

import com.wasion.pwportable.protocol.analyzer.AbstractAnalyzer;

/**
 * 
* @ClassName: LastShortInfo_RD_Analyzer 
* @Description: 7E. 上次故障发生时间 和 上次故障前负荷电流 
* @author 高意 
* @date 2014-9-10 下午5:33:31 
*
 */
public class LastShortInfo_RD_Analyzer extends AbstractAnalyzer {

	@Override
	public void dataAnalysis(String ackBS) {

		String data = ackBS.substring(DATABITSTART, DATABITSTART + 12);

		String date = data.substring(0, 8);
		result.setOccurTime(getIndicatorDate(date));

		String load = data.substring(8, 12);
		result.setPreCurrent(getCurrentPositive(load));
	}
}
